package com.chexiehui.jc.mvp.car;

import com.chexiehui.jc.base.BaseModel;
import com.chexiehui.jc.base.BasePage;
import com.chexiehui.jc.base.BaseView;
import com.chexiehui.jc.entity.CarInfo;

import java.util.List;

/**
 * @Description 车型对比
 * @Auth SongJun
 * @Date 2020/05/21 00:18
 **/
public interface CarModelCompareCovenant {

    interface View extends BaseView {
        void onGetListSuccess(BaseModel<BasePage<CarInfo>> successResult);

        void onGetListFailure(BaseModel<Object> failureResult);
        void onDoDeleteSuccess(BaseModel<Object> successResult);

        void onDoDeleteFailure(BaseModel<Object> failureResult);

    }

    interface Stores {
    }

    interface Presenter {
        void getList(int pageNum);
        void doDelete(List<String> keys);
    }

}